package com.egao.common.module.company.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author warmwind
 * @since 2024-10-08 下午5:07
 */
@Data
public class FieldRecordVO {

    @ApiModelProperty("记录编号")
    private Integer id;

    @ApiModelProperty("场地编号")
    private Integer fieldId;

    @ApiModelProperty("业务类型：0：锁定、1：宣讲会")
    private Integer type;

    @ApiModelProperty("单位ID")
    private Integer companyId;

    @ApiModelProperty("业务编号（招聘编号、宣讲会编号等）")
    private Integer businessId;

    @ApiModelProperty("预约完整时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("预约结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("预约日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty("时间类型（上午 1 下午 2 晚上 3）")
    private String timeType;

}
